package com.danco.training.zaneuskaya.api;

import java.io.Serializable;
import java.util.List;

import com.danco.training.zaneuskaya.domain.Book;

public interface BookService extends EntityService<Book>, Serializable {

	public List<Book> getSomeMonthsUnsoldBooks(List<Book> books);

	public List<Book> sortBooksByAlphabet(List<Book> books);

	public List<Book> sortBooksByPublicationDate(List<Book> books);

	public List<Book> sortBooksByPrice(List<Book> books);

	public List<Book> sortBooksByAvailability(List<Book> books);

	public List<Book> sortUnsoldBooksByReceiptDate(List<Book> books);

	public List<Book> sortUnsoldBooksByPrice(List<Book> books);

	public List<Book> getAvailableBooks();

	public List<Book> getNotAvailableBooks();

}
